<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="box">hello world</div>
</body>
</html>
<script>
    var oBox = document.getElementById("box");
    oBox.style.color = "yellow";
</script>